package com.ruoyi.wms.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 出库单对象 wms_shipment_order
 * 
 * @author zmm
 * @date 2023-01-30
 */
public class WmsShipmentOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一值 */
    private Long id;
    private Long deptId;

    @Override
    public Long getDeptId() {
        return deptId;
    }

    @Override
    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }
    /** 出库单号 */
    @Excel(name = "出库单号")
    private String shipmentOrderNo;

    /** 出库类型 */
    @Excel(name = "出库类型")
    private Long shipmentOrderType;

    /** 出库订单 */
    @Excel(name = "出库订单")
    private String orderNo;

    /** 客户 */
    @Excel(name = "客户")
    private Long customerId;

    /** 出库单状态 */
    @Excel(name = "出库单状态")
    private Integer shipmentOrderStatus;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Integer checkStatus;

    /** 审核人 */
    @Excel(name = "审核人")
    private Long checkUserId;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkTime;

    /** 删除标识 */
    private Integer delFlag;

    /** 出库单详情信息 */
    private List<WmsShipmentOrderDetail> wmsShipmentOrderDetailList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setShipmentOrderNo(String shipmentOrderNo) 
    {
        this.shipmentOrderNo = shipmentOrderNo;
    }

    public String getShipmentOrderNo() 
    {
        return shipmentOrderNo;
    }
    public void setShipmentOrderType(Long shipmentOrderType) 
    {
        this.shipmentOrderType = shipmentOrderType;
    }

    public Long getShipmentOrderType() 
    {
        return shipmentOrderType;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setShipmentOrderStatus(Integer shipmentOrderStatus) 
    {
        this.shipmentOrderStatus = shipmentOrderStatus;
    }

    public Integer getShipmentOrderStatus() 
    {
        return shipmentOrderStatus;
    }
    public void setCheckStatus(Integer checkStatus) 
    {
        this.checkStatus = checkStatus;
    }

    public Integer getCheckStatus() 
    {
        return checkStatus;
    }
    public void setCheckUserId(Long checkUserId) 
    {
        this.checkUserId = checkUserId;
    }

    public Long getCheckUserId() 
    {
        return checkUserId;
    }
    public void setCheckTime(Date checkTime) 
    {
        this.checkTime = checkTime;
    }

    public Date getCheckTime() 
    {
        return checkTime;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    public List<WmsShipmentOrderDetail> getWmsShipmentOrderDetailList()
    {
        return wmsShipmentOrderDetailList;
    }

    public void setWmsShipmentOrderDetailList(List<WmsShipmentOrderDetail> wmsShipmentOrderDetailList)
    {
        this.wmsShipmentOrderDetailList = wmsShipmentOrderDetailList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("shipmentOrderNo", getShipmentOrderNo())
            .append("shipmentOrderType", getShipmentOrderType())
            .append("orderNo", getOrderNo())
            .append("customerId", getCustomerId())
            .append("shipmentOrderStatus", getShipmentOrderStatus())
            .append("checkStatus", getCheckStatus())
            .append("checkUserId", getCheckUserId())
            .append("checkTime", getCheckTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("wmsShipmentOrderDetailList", getWmsShipmentOrderDetailList())
            .toString();
    }
}
